package DBLayer;
import java.util.ArrayList;
import modelLayer.*;

//interface to the SalesOrder class
public interface IFDBSalesOrder {
	
		//get all orders
		public ArrayList<SalesOrder> getAllSalesOrders(boolean retriveAssociation);
		//get an order with salesId
		public SalesOrder findSalesId(int salesId, boolean retriveAssociation);
		//get an order with customer phoneNo
		public SalesOrder findCustomerPhoneNo(String customerPhoneNo, boolean retriveAssociation);
		//insert a new order
		public int insertSalesOrder(SalesOrder order);
		
	

}
